package com.tbit.uqbike.client.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: chen
 * @Description: 设备功能常量
 * @Date: 创建于 13:54 2022/7/22
 */
public class MachineFunctionConstant {


    /***********************************功能型号类型**********************************************/
    /**
     * 头盔锁
     */
    public static final int MACHINE_TYPE_HELMET = 1;
    /**
     * 垂直停车
     */
    public static final int MACHINE_TYPE_VERTICAL = 2;
    /**
     * 高精度定位
     */
    public static final int MACHINE_TYPE_HIGH = 3;
    /**
     * 脚撑
     */
    public static final int MACHINE_TYPE_JC = 4;
    /**
     * 道钉
     */
    public static final int MACHINE_TYPE_BLE = 5;
    /**
     * rfid
     */
    public static final int MACHINE_TYPE_RFID = 6;
    /**
     * 摄像头
     */
    public static final int MACHINE_TYPE_WEBCAM = 7;
    /**
     * 仪表盘
     */
    public static final int MACHINE_TYPE_BOARD = 8;
    /**
     * 文明骑行
     */
    public static final int MACHINE_TYPE_RULE_RIDE = 9;
    /**
     * 智能头盔锁
     */
    public static final int MACHINE_TYPE_HELMET_SMART = 10;
    /**
     * 蓝牙头盔锁
     */
    public static final int MACHINE_TYPE_HELMET_BLUETOOTH = 11;
    /**
     * 强制佩戴头盔
     */
    public static final int MACHINE_TYPE_HELMET_MANDATORY = 12;
    /**
     * 绿T标线摄像头
     */
    public static final int GREEN_T_MARKING_CAMERA = 13;
    /**
     * 充电桩
     */
    public static final int MACHINE_TYPE_CDZ = 14;
    /**
     * 拍照还车
     */
    public static final int PHOTO_RETURN_CAR = 19;
    /**
     * 旧版自行车
     */
    public static final int MACHINE_TYPE_CAR = 25;
    /**
     * 马蹄锁
     */
    public static final int MACHINE_TYPE_MTS = 26;

    /**
     * 无定位车辆
     */
    public static final int MACHINE_TYPE_NOPOINT = 50;
    /**
     * RGPS
     */
    public static final int MACHINE_TYPE_RGPS = 51;
    /**
     * 头盔佩戴感应通电
     */
    public static final int HELMET_WEAR = 53;

    public static final Map<Integer, String> FUNCTION_NAME_MAP = new HashMap<>();

    static {
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_HELMET, "头盔锁");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_VERTICAL, "垂直停车");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_HIGH, "高精度定位");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_JC, "脚撑");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_BLE, "道钉");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_RFID, "rfid");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_WEBCAM, "摄像头");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_BOARD, "仪表盘");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_RULE_RIDE, "文明骑行");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_HELMET_SMART, "智能头盔锁");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_HELMET_BLUETOOTH, "蓝牙头盔锁");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_HELMET_MANDATORY, "强制佩戴头盔");
        FUNCTION_NAME_MAP.put(GREEN_T_MARKING_CAMERA, "绿T标线摄像头");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_CDZ, "充电桩");
        FUNCTION_NAME_MAP.put(PHOTO_RETURN_CAR, "拍照还车");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_NOPOINT, "无定位车辆");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_CAR, "旧版自行车");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_MTS, "马蹄锁");
        FUNCTION_NAME_MAP.put(MACHINE_TYPE_RGPS, "RGPS定位");
        FUNCTION_NAME_MAP.put(HELMET_WEAR, "头盔佩戴感应通电");
    }


}
